$OpenBSD: patch-configure,v 1.9 2016/04/23 12:44:14 steven Exp $

Use GNU readline as our base readline lacks rl_prefer_env_winsize.

--- configure.orig	Wed Apr 20 21:02:19 2016
+++ configure	Fri Apr 22 23:52:05 2016
@@ -39759,13 +39759,13 @@ fi
 
     ac_octave_save_LIBS="$LIBS"
     LIBS="$TERM_LIBS"
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rl_set_keyboard_input_timeout in -lreadline" >&5
-$as_echo_n "checking for rl_set_keyboard_input_timeout in -lreadline... " >&6; }
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rl_set_keyboard_input_timeout in -lereadline" >&5
+$as_echo_n "checking for rl_set_keyboard_input_timeout in -lereadline... " >&6; }
 if ${ac_cv_lib_readline_rl_set_keyboard_input_timeout+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-lreadline  $LIBS"
+LIBS="-lereadline  $LIBS"
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
@@ -39804,7 +39804,7 @@ fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_rl_set_keyboard_input_timeout" >&5
 $as_echo "$ac_cv_lib_readline_rl_set_keyboard_input_timeout" >&6; }
 if test "x$ac_cv_lib_readline_rl_set_keyboard_input_timeout" = xyes; then :
-  READLINE_LIBS="-lreadline"
+  READLINE_LIBS="-lereadline"
 
 $as_echo "#define USE_READLINE 1" >>confdefs.h
 
